package coding.datastructures;

public class StringBufferTest {

	public static void main(String... args) {
		String[] words = { "Hello", " ", "World", " ", "!" };
		StringBuffer sentence = new StringBuffer();
		for (String word : words) {
			sentence.append(word);
		}
		System.out.println(sentence.toString());
	}
}
